package com.spring.daily.web.model;

import java.util.Date;

import org.hibernate.validator.constraints.NotBlank;

import com.spring.common.web.dto.BaseDTO;
import com.spring.security.core.validators.Update;

public class WeeklyRecord extends BaseDTO{
	@NotBlank(message = "id不可为空",groups={Update.class})
    protected String id;

    protected String babyId;

    protected String babyName;

    protected String babyEnglishName;

    protected String teacherId;

    protected String teacherName;

    protected Date recordDate;

    protected Integer week;

    protected Date createdtime;

    protected Date changedtime;

    protected String initialoperatorid;

    protected String initialoperatorname;

    protected String operatorid;

    protected String operatorname;

    protected Integer entityavailablestate;

    protected Integer hasread;

    protected String courseClassid;

    protected Date parentsCommentTime;
    
    public String getParentid() {
		return parentid;
	}

	public void setParentid(String parentid) {
		this.parentid = parentid;
	}

	protected String parentid;
    
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getBabyId() {
        return babyId;
    }

    public void setBabyId(String babyId) {
        this.babyId = babyId == null ? null : babyId.trim();
    }

    public String getBabyName() {
        return babyName;
    }

    public void setBabyName(String babyName) {
        this.babyName = babyName == null ? null : babyName.trim();
    }

    public String getBabyEnglishName() {
        return babyEnglishName;
    }

    public void setBabyEnglishName(String babyEnglishName) {
        this.babyEnglishName = babyEnglishName == null ? null : babyEnglishName.trim();
    }

    public String getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(String teacherId) {
        this.teacherId = teacherId == null ? null : teacherId.trim();
    }

    public String getTeacherName() {
        return teacherName;
    }

    public void setTeacherName(String teacherName) {
        this.teacherName = teacherName == null ? null : teacherName.trim();
    }

    public Date getRecordDate() {
        return recordDate;
    }

    public void setRecordDate(Date recordDate) {
        this.recordDate = recordDate;
    }

    public Integer getWeek() {
        return week;
    }

    public void setWeek(Integer week) {
        this.week = week;
    }

    public Date getCreatedtime() {
        return createdtime;
    }

    public void setCreatedtime(Date createdtime) {
        this.createdtime = createdtime;
    }

    public Date getChangedtime() {
        return changedtime;
    }

    public void setChangedtime(Date changedtime) {
        this.changedtime = changedtime;
    }

    public String getInitialoperatorid() {
        return initialoperatorid;
    }

    public void setInitialoperatorid(String initialoperatorid) {
        this.initialoperatorid = initialoperatorid == null ? null : initialoperatorid.trim();
    }

    public String getInitialoperatorname() {
        return initialoperatorname;
    }

    public void setInitialoperatorname(String initialoperatorname) {
        this.initialoperatorname = initialoperatorname == null ? null : initialoperatorname.trim();
    }

    public String getOperatorid() {
        return operatorid;
    }

    public void setOperatorid(String operatorid) {
        this.operatorid = operatorid == null ? null : operatorid.trim();
    }

    public String getOperatorname() {
        return operatorname;
    }

    public void setOperatorname(String operatorname) {
        this.operatorname = operatorname == null ? null : operatorname.trim();
    }

    public Integer getEntityavailablestate() {
        return entityavailablestate;
    }

    public void setEntityavailablestate(Integer entityavailablestate) {
        this.entityavailablestate = entityavailablestate;
    }

    public Integer getHasread() {
        return hasread;
    }

    public void setHasread(Integer hasread) {
        this.hasread = hasread;
    }

    public String getCourseClassid() {
        return courseClassid;
    }

    public void setCourseClassid(String courseClassid) {
        this.courseClassid = courseClassid == null ? null : courseClassid.trim();
    }

    public Date getParentsCommentTime() {
        return parentsCommentTime;
    }

    public void setParentsCommentTime(Date parentsCommentTime) {
        this.parentsCommentTime = parentsCommentTime;
    }
}